//
//  SpCityItem.m
//  HeadYang
//
//  Created by sunmingming on 15/7/13.
//  Copyright (c) 2015年 xiaoluoli. All rights reserved.
//

#import "SpCityItem.h"

@implementation SpCityItem

- (id)initWithDictionary:(NSDictionary *)dictionary
{
    if (self = [self init])
    {
        self.numOfBarber = [[dictionary valueForKey:@"numOfBarber"] intValue];
        self.momo = [dictionary valueForKey:@"momo"];
        self.name = [dictionary valueForKey:@"name"];
        self.selfId = [[dictionary valueForKey:@"id"] intValue];
        self.numOfStore = [[dictionary valueForKey:@"numOfStore"] intValue];
        self.indexChar = [dictionary valueForKey:@"indexChar"];
    }
    return self;
}

-(id)init
{
    if(self = [super init])
    {
        self.numOfBarber = 0;
        self.selfId = 0;
        self.numOfStore = 0;
        self.momo = @"";
        self.name = @"";
        self.indexChar = @"";
    }
    return self;
}

@end